package Day003_多态_内部类.demo004多态的应用;

public class Dog extends Animal { // 继承


    //方法重写
    public void eat() {
        System.out.println("吃骨头");
    }

}
